<template>
	<view>
		<view class="hot">
			<view class="top">
				<view class="txt">热门搜索</view>
			</view>
			<view class="bottom">
				<view v-for="(item,index) in $store.state.secrch.hotKeywordList" :key="index">
					<u-button type="primary" :plain="true" :text="item.keyword" :color="item.is_hot==1?'red':'#999'" size="mini"></u-button>
				</view>
				
				
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"hot",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="less">
.hot {
	background-color: #fff;
	padding: 30rpx;
	.top {
		display: flex;
		padding-bottom: 20rpx;
	}
	.bottom {
		display: flex;
flex-wrap: wrap;
		.u-button {
			width: auto;
			margin: 0;
			margin-right: 20rpx;
			margin-bottom: 20rpx;
		}
	}
}
</style>